package com.itheima.wms.mapper;

import com.github.pagehelper.Page;
import com.itheima.wms.pojo.PageWareHouse;
import com.itheima.wms.pojo.WmsArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WareHouseMapper {
    Page<WmsArea> queryFactoryAll(PageWareHouse pageWareHouse);

    void addWareHouse(WmsArea wmsArea);

    WmsArea queryWareHouseById(Integer id);

    void updateWareHouse(WmsArea wmsArea);

    void deleteWareHouse(@Param("ids") List<Long> ids);
}
